<%--
  Created by IntelliJ IDEA.
  User: 18403
  Date: 2022/3/29
  Time: 9:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>更新书籍</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
        <input type="hidden" name="bookID" value="${book.bookID}">
        <div class="form-group">
            <label for="bkname">书籍名称：</label>
            <input type="text" name="bookName" value="${book.bookName}" class="form-control" id="bkname" required>
        </div>
        <div class="form-group">
            <label for="bkname1">书籍数量：</label>
            <input type="text" name="bookCounts" value="${book.bookCounts}" class="form-control" id="bkname1" required>
        </div>
        <div class="form-group">
            <label for="bkname2">书籍简介：</label>
            <input type="text" name="detail" value="${book.detail}" class="form-control" id="bkname2" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="添加书籍">
        </div>
    </form>

</div>

</body>
</html>
